package com.jnu.hospitalexamination.mapper;

import com.jnu.hospitalexamination.entity.Cidetailedreport;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* @author Nowonder
* @description 针对表【cidetailedreport】的数据库操作Mapper
* @createDate 2024-07-21 20:12:35
* @Entity .entity.Cidetailedreport
*/
// 根据预约编号
@Mapper
public interface CidetailedreportMapper extends BaseMapper<Cidetailedreport> {
    /**
     * 根据检查项目id查询检查项目明细详情
     * @param ciId
     * @return
     */
    @Select("SELECT * FROM cidetailedreport WHERE ciId = #{ciId}")
    List<Cidetailedreport> SelectByCiId(int ciId);
}




